import request from "@/api/request"

// 请求首页数据
// index()
// .then()
function category(data) {
    return request({
        method: "get",
        url: "/category/categoryNav",
        data
    })
}
function goods(data) {
    return request({
        method: "get",
        url: "/goods/goodsList",
        data
    })
}

export {
    category,
    goods

}